package com.example.demo.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "chat.jwt")
@Data
public class JwtProperties {

    /**
     * web端生成jwt令牌相关配置
     */
    private String webSecretKey;
    private long webTtl;
    private String webTokenName;
}
